import request from '@/utils/request'

// 评估/区划
export function getPage(params){
  return request({
    url: `/calculationResult/getPage`,
    method: 'get',
    params
  })
}
// 模糊
export function getFuzzyPage(params){
  return request({
    url: `/calculationResult/conditionalFuzzyQuery`,
    method: 'get',
    params
  })
}
// 模糊-生命线
export function getFuzzyLifePage(params){
  return request({
    url: `/taskManagement/fuzzyQuery`,
    method: 'get',
    params
  })
}
// 模糊-下载
export function downloadMaps(data) {
  return request({
    url: '/calculationResult/downloadMaps1',
    method: 'post',
    data:data,
    responseType: 'blob',
    headers:{ 'Content-Type': 'application/json; application/octet-stream'},
  })
}
